﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="PhotoGalleryEnteties" %>



<p>
    <span>Welcome, <%=ViewData["UserName"]%></span>
</p>
<p>
    <a class="reference" href="<%=Url.Action( "Index","News") %>">You have <span class="NewsCount"><%=ViewData["NewsCount"] %></span> news</a>
</p>
<p>
   <%=Html.ActionLink("Navigate your root album","Details","Album",new{id=ViewData["RootId"]},new{@class="reference"}  ) %>

</p>
<p>
     <%: Html.ActionLink("Log Off", "LogOff", "Account",new{returnUrl=Request.RawUrl },null) %>
</p>





